/* --------------------------------------------------------
 * Copyright (c) aeky , Inc.  All rights reserved.
 * --------------------------------------------------------
 */
package com.aeky.factory.abstractFactory.data.product;

import com.aeky.factory.abstractFactory.data.ingredient.Dough.Dough;
import com.aeky.factory.abstractFactory.data.ingredient.Sauce.Sauce;
import com.aeky.factory.abstractFactory.data.ingredient.cheese.Cheese;

/**
 * 
 * @author aeky
 */
public abstract class Pizza {

    /** 名称 */
    protected String name;

    /** 奶酪 */
    protected Cheese cheese;

    /** 面团 */
    protected Dough dough;

    /** 调味料 */
    protected Sauce sauce;

    /**
     * 准备阶段
     */
    public abstract void prepare();

    /**
     * 烘烤阶段
     */
    public void bake() {
        System.out.println("bake");
    };

    /**
     * 切片阶段
     */
    public void cut() {
        System.out.println("cut");
    };

    /**
     * 打包阶段
     */
    public void box() {
        System.out.println("box");
    };

}
